<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>用户登录页面</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        html {
            height: 100%;
            width: 100%;
            overflow: hidden;
            margin: 0;
            padding: 0;
            -moz-background-size: 100% 100%;
        }

        body {
            background: url(loginbg.jpg) no-repeat 0px 0px;
            background-size: 100% 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }a

         #loginDiv {
             width: 37%;
             display: flex;
             justify-content: center;
             align-items: center;
             height: 300px;
             background-color: rgba(75, 81, 95, 0.3);
             box-shadow: 7px 7px 17px rgba(52, 56, 66, 0.5);
             border-radius: 5px;
         }

        #name_trip {
            margin-left: 50px;
            color: red;
        }

        p {
            margin-top: 30px;
            margin-left: 20px;
            color: azure;
        }

        input {
            margin-left: 15px;
            border-radius: 5px;
            border-style: hidden;
            height: 30px;
            width: 200px;
            /*background-color: rgba(216, 191, 216, 0.5);*/
            outline: none;
            color: #000000;
            padding-left: 10px;
        }

        #loginDiv {
            width: 37%;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 300px;
            background-color: rgba(255,255,255,0.3);
            box-shadow: 7px 7px 17px rgba(255, 255, 255, 0.3);
            border-radius: 5px;
        }

        #loginDiv .message {
            margin: 10px 0 0 -58px;
            padding: 18px 10px 18px 60px;
            background: #189F92;
            position: relative;
            color: #fff;
            font-size: 16px;
        }

        form{
            width: auto;
            height: auto;
        }

        .button {
            border-color: cornsilk;
            background-color: rgba(100, 149, 237, .7);
            color: aliceblue;
            border-style: hidden;
            border-radius: 5px;
            width: 100px;
            height: 31px;
            font-size: 16px;
        }
    </style>
</head>
<body>
<!--<form action="/login" method="post">-->
<!--    用户名：<input type="text" name="username"/>-->
<!--    密码：<input type="password" name="password"/>-->
<!--    <input type="submit"/><a href="registerHtml">注册</a>-->
<!--</form>-->
<div id="loginDiv">
    <form action="/login" id="form">
        <h1 style="text-align: center;color: aliceblue;"><a href="adminLoginHtml">用户登录</a></h1>
        <p>用户名:<input id="userName" name="username" type="text"><label id="name_trip"></label></p>

        <p>密&nbsp&nbsp&nbsp&nbsp码:<input id="password" name="password" type="password"><label id="password_trip"></label></p>

        <div style="text-align: center;margin-top: 30px;">
            <input type="submit" class="button" value="登录">
            <a href="registerHtml"><input class="button" value="注册" type="button"></a>
        </div>
    </form>
</div>
</body>
</html>
